home *** CD-ROM | disk | FTP | other *** search
- Path: news.iadfw.net!usenet
- From: Mark Nelson <markn@airmail.net>
- Newsgroups: comp.lang.c
- Subject: Re: COM Port Strings
- Date: Sat, 13 Apr 1996 21:06:25 -0500
- Organization: Guest user
- Message-ID: <31705DA1.52FD@airmail.net>
- References: <4kpjai$972@linet06.li.net>
- NNTP-Posting-Host: dal27-09.ppp.iadfw.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
-
- Scott Pollack wrote:
- >
- > Could someone please explain how to input and output text strings to COM
- > ports?
- >
- > Thanks,
- >
- > -Gil Pollack
- >
- > gpollack@li.net
-
- Hi Scott or Gil,
-
- Under 16 bit DOS, it's a little hard. Generally you will need to install
- an interrupt driven handler to get the input from your device. You can
- check my home page under "Articles" and find some documentation on doing this
- under just C. You can also get information about my book, "Serial Communications: A C++
- Developer's Guide", which has the same stuff, just lots more of it.
-
- Under 16 bit windows it's considerably easier and you don't need to do anything
- funky. Open your win 3.1 API help file and look up OpenComm(). Just follow the
- see-alsos from there.
-
- Mark Nelson
- http://web2.airmail.net/markn
-